package com.example.websocket.util.response;

public class AppConst {

    /*用户seesion*/
    public static final String USER_SESSION = "userSession";

    // 系统编码
    public static final String ENCODING = "UTF-8";

    // 默认显示日期格式
    public static final String DATE_PATTEN = "yyyy/MM/dd";

    // 默认显示日期格式（带年）
    public static final String YEAR_PATTEN = "yyyy";

    // 默认显示日期格式（带时分秒）
    public static final String TIME_PATTEN = "yyyy/MM/dd HH:mm:ss";

	// 显示日期格式（年月日）
	public static final String ZH_CN_DATE_PATTEN = "yyyy年M月d日";

	// 页面操作状态 ---操作成功
	public static final String SUCCESS = "success";
	// 页面操作状态 ---操作失败
	//public static final String FAIL = "error";
	// 页面操作状态
	public static final String STATUS = "status";
	// 返回数据
	public static final String DATA = "data";
	// 页面操作状态  --- 返回页面
	public static final String FORWORD = "forword";

    //用户初始密码
    public static final String ORIGINAL_PWD = "123456";

	// 正确消息
	public static final String MESSAGES = "message";
	// 错误消息
	public static final String ERRORS = "errors";
	// 异常消息
	public static final String EXCEPTION = "exception";


	//单点登录KEY
	public static final String SESSION_KEY = "SESSION_KEY";

	//   注销
	public static final String STATUS_DISABLE = "1";
	//   有效
	public static final String STATUS_ENABLE = "0";
	//   查询日志主键ID
	public static final String QUERY_ID = "query_id";

	//  记录生成主键ID
	public static final String SAVE_ID = "saveID";

	//  登录方式-账号密码
	public static final String LOGIN_MODE_ACCOUNT = "account";

	//  登录方式-手机验证码
	public static final String LOGIN_MODE_PHONE = "phone";

	//	登录操作-检查站登录
	public static final String LOGIN_ACTION_CHECK = "check";

	//	登录操作-管理员登录
	public static final String LOGIN_ACTION_ADMIN = "admin";

	//	登录操作-登出
	public static final String LOGIN_ACTION_LOGOUT = "logout";

	//	跳转页面-登录页面
	public static final String PAGE_LOGIN = "login";

    //	菜单权限查询参数-表名-检查站表
	public static final String MENU_RIGHT_TABLENAME_CHECKPOINT = "SC_CHECKPOINT_INFO";

	//	菜单权限查询参数-表名-管理员表
	public static final String MENU_RIGHT_TABLENAME_ADMIN = "SC_ADMINISTRATOR_INFO";

	//	临控比对-对象-表名-车辆采集信息
	public static final String IMPEND_CONTROL_PARTICULAR_OBJECT_TABLE_CAR = "SC_CARS_GATHER";

	//	临控比对-对象-表名-电围采集信息
	public static final String IMPEND_CONTROL_PARTICULAR_OBJECT_TABLE_PEO = "SC_ELECTRONICFENCE_GATHER";

	//	用户权限-系统管理员
	public static final String USER_TYPE_ADMIN = "1";

	//	用户权限-管理员
	public static final String USER_TYPE_ADMINISTRATOR = "2";

	//	用户权限-检查站
	public static final String USER_TYPE_CHECKPOINT = "3";

	//	启动功能-是否启动向引导屏传输数据功能
	public static boolean IS_UPDATA_GUIDESCREEN = true;

	//	启动功能-是否启动向鹰眼传输数据功能
	public static boolean IS_UPDATA_HAWKEYE = true;

	//	时间戳error
	public static String ERROR_DATE_FORMAT = "时间戳格式不正确";

	//失败
	public static final int FAIL = -1;

	//成功
	public static final int OK = 0;

}
